package com.cdut.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * author: xinmu
 * date: 2022/4/21
 * time: 18:50
 */

@Api("路由控制器")
@Controller
public class RouteController {

    @GetMapping("/toLogin")
    public String toLogin(){
        return "login";
    }
    @GetMapping("/regsuccess")
    public String tohome()
    {
        return "home";
    }
}
